//
//  RITLAssociatePageContentController.h
//  NongWanCloud
//
//  Created by YueWen on 2018/1/4.
//  Copyright © 2018年 YueWen. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

static NSString *const RITLAssocicateViewLeaveToTopNotificationName = @"RITLAssocicateViewLeaveToTop";
static NSString *const RITLAssocicateViewScrollingNotificationName = @"RITLAssocicateViewScrolling";

/// TODO: 找原因，待废弃
/// 为了避免 tableView 因为不知名原因无法响应代理，手动设置外部的 可滚动性
static NSString *const RITLAssocicateViewScrollEnableNotificationName = @"RITLAssocicateViewScrollEnable";
static NSString *const RITLAssocicateViewScrollNotEnableNotificationName = @"RITLAssocicateViewScrollNotEnable11";


@protocol RITLAssociateContentController <NSObject>

/// 响应能否滚动的操作
- (void)contentControllerShouldScroll:(BOOL)canScroll;

@optional

/// 建议追加一个属性用来记录，可选
@property (nonatomic, assign)BOOL canScroll;

/// 刷新操作
- (void)refresh;

@end

NS_ASSUME_NONNULL_END

